package com.zone.infrastructure.persistent.dao;

import com.zone.infrastructure.persistent.po.UserCreditAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: zongzi
 * @description: TODO
 * @date: 2025/3/8
 */
@Mapper
public interface IUserCreditAccountDao {
    int addAmount(UserCreditAccount userCreditAccount);

    void insert(UserCreditAccount userCreditAccount);

    UserCreditAccount queryUserCreditAccount(@Param("userId") String userId);

    void subAmount(UserCreditAccount userCreditAccount);
}
